#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN


@interface XMLoginManager : NSObject
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
- (id)copy NS_UNAVAILABLE;
- (id)mutableCopy NS_UNAVAILABLE;
+ (XMLoginManager *)sharedInstance;
@property (nonatomic, copy) NSString *token;
@property (nonatomic, copy) NSString *rongToken;
@property (nonatomic, copy) NSString *userId;
@property (nonatomic, copy) NSString *nickName;
@property (nonatomic, copy) NSString *avatar;
@property (nonatomic, assign) BOOL isLogin;
- (void)saveLoginData:(XMUserModel *)userModel complete:(void (^)(void))complete;
- (void)removeLoginData;
- (void)doLoginResult:(XMUserModel *)userModel;
@end
NS_ASSUME_NONNULL_END
